package com.excel.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * ClassName:OrderData
 * Package:com.excel.entity
 * Description
 *
 * @Author:@wenxueshi
 * @Create:2023/7/9 - 16:02
 * @Version:v1.0
 */
//order，不会出现空列情况
@Data
@EqualsAndHashCode
public class OrderData {
    @ExcelProperty(value = "字符串标题", order = 0)
    private String string;
    @ExcelProperty(value = "日期标题", order = 1)
    private String dateTime;
    /**
     * 这里设置3 不会出现空列情况
     */
    @ExcelProperty(value = "数字标题", order = 3)
    private Double doubleData;
}
